﻿namespace DART.Detector.IRay
{ 
    /// <summary>
    /// 探测器状态信息
    /// </summary>
    public class DetectorStatus : IDetectorStatus
    {
        public DetectorMode Mode { get; set; }

        public bool AutoExposure { get; set; }

        public double Temperature { get; set; }

        public int Filter { get; set; }

        public DetectorStatus Clone() => MemberwiseClone() as DetectorStatus;
    }

    /// <summary>
    /// 探测器状态信息(只读)
    /// </summary>
    public interface IDetectorStatus
    {
        /// <summary>
        /// 探测器模式
        /// </summary>
        DetectorMode Mode { get; }

        /// <summary>
        /// 启用自动曝光
        /// </summary>
        bool AutoExposure { get; }

        /// <summary>
        /// 滤过
        /// </summary>
        int Filter { get; }

        /// <summary>
        /// 温度
        /// </summary>
        double Temperature { get; }
    }


}